package com.medistat.services;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("userContextProvider")
public class UserContextProviderImpl implements UserContextProvider {

	private UserContext userContext;
	
	@Autowired
	public void setUserContext(UserContext userContext) {
		this.userContext = userContext;
	}
	
	@Override
	public UserContext getUserContext() {	
		return userContext;
	}

}
